package com.sunshine.ssm.test.spring.hellobean;

/**
 * @Description:
 * @author: Hong.Wei
 * @Date: 2016/12/28 10:47
 */
public class HelloApiImpl implements HelloApi {

    private String message;

    public HelloApiImpl() {
        this.message = "默认构造器";
    }

    public HelloApiImpl(String message) {
        this.message = message;
    }

    @Override
    public void sayHello() {
        System.out.println("----------- " + this.message + " -----------");
    }
}
